export default {
  data () {
    return {
      list_c: [
        { label: '编号', prop: 'id', },
        { label: '模型名称', prop: 'modelName' },
        { label: '产品', prop: 'product' },
        { label: '产品型号', prop: 'productModel' },
        { label: '产品规格', prop: 'productSpecification' },
        { label: '产品单位', prop: 'productUnit' }
      ],
      list_e: {
        id: null,
        modelName: null,
        product: null,
        productModel: null,
        productSpecification: null,
        productUnit: null,
        remark: null
      },
      list_e_c: [
        { form_item_prop: { label: '产品', prop: 'product', required: true }, component_name: 'el-input', },
        { form_item_prop: { label: '产品型号', prop: 'productModel', }, component_name: 'el-input', component_prop: { disabled: true } },
        { form_item_prop: { label: '产品规格', prop: 'productSpecification', }, component_name: 'el-input', component_prop: { disabled: true } },
        { form_item_prop: { label: '模型名称', prop: 'modelName', required: true }, component_name: 'el-input' },
        { form_item_prop: { label: '备注', prop: 'remark' }, component_name: 'el-input', component_prop: { type: 'textarea' } },
      ],
      list_detailList_c: [
        { label: '型号', prop: 'model' },
        { label: '规格', prop: 'specification' },
        { label: '单位', prop: 'unit' },
        { label: '备注', prop: 'remark', cn: 'el-input', type: 'textarea' },
      ],
      list_material_c: [
        { label: '编号', prop: 'id' },
        { label: '物料编码', prop: 'code' },
        { label: '物料名称', prop: 'name' },
        { label: '型号', prop: 'model' },
        { label: '规格', prop: 'specification' },
        { label: '单位', prop: 'unit' },
        { label: '单价', prop: 'price' },
        { label: '类型', prop: 'category.name' },
        { label: '备注', prop: 'remark' },
      ],
    }
  },
  methods: {
  },
}